package com.cskaoyan.utils;

/**
 * @Since 2022/12/28 23:04
 * @Author LA
 * @Description: 自定义String工具类
 */

public class StringUtil {
    /**
     * string 判空
     * @param value
     * @return boolean
     * @author LA
     * @since 2022/12/28 23:05
     */
    public static boolean isEmpty(String value) {
        if (value == null || "".equals(value.trim())) {
            return true;
        }
        return false;
    }

    public static boolean isEmpty(Short value) {
        if (value == null){
            return true;
        }
        return false;
    }
}
